import Loadable from 'react-loadable';
import React,{Component} from 'react';
import Loading from "$component/admin/loading/loading.jsx";
import {scollTop} from '$common/admin/utils'
class LoadablePage extends Component{
  constructor(props) {
    super(props);
    scollTop()
  }
  LoadableComponent = Loadable({
    loader: () => import("./index.jsx"),
    loading: Loading,
    delay: 3000
  });
  render(){
    let LoadableComponent = this.LoadableComponent;
    return <LoadableComponent {...this.props} />
  }
}
export default LoadablePage
